<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;

include "function_net_dns.php";
$in_array['Enabled'] = $_POST['valid'];

$d = new CDns();
$d->EditXmlServer($in_array);

include_once "function_misc_log.php";
logger("Modify", $in_array, "Dns_Server");

//include "function_web_misc.php";
//PrintSuccessPageAndJump('net_dns_server.php');
echo("<meta http-equiv='refresh'content=0;URL='net_dns_server.php'>");   

?>
